﻿namespace Compass.Wasm.Shared.Wms;
//供应商
public class VendorDto : BaseDto
{
    private string number;
    public string Number { get=>number; set { number = value;OnPropertyChanged(); } }

    private string name;
    public string Name { get=>name; set { name = value; OnPropertyChanged(); } }

    private string? contact;//联系人
    public string? Contact { get=>contact; set { contact = value; OnPropertyChanged(); } }

    private string? address;//地址
    public string? Address { get=>address; set { address = value; OnPropertyChanged(); } }

    private string? telephone;
    public string? Telephone { get=>telephone; set { telephone = value; OnPropertyChanged(); } }

    private string? remarks;
    public string? Remarks { get=>remarks; set { remarks = value; OnPropertyChanged(); } }


    #region 额外属性2，是否被选中
    private bool isSelected;
    public bool IsSelected { get => isSelected; set { isSelected = value; OnPropertyChanged(); } }
    #endregion
}

public class VendorString
{
    public string? Number { get; set; }
    public string? Name { get; set; }
    public string? Contact { get; set; }//联系人
    public string? Address { get; set; }//地址
    public string? Telephone { get; set; }
    public string? Remarks { get; set; }
}